package com.synergy.stockflow.sales.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.synergy.stockflow.sales.entity.Quotation;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;

public interface QuotationService extends IService<Quotation>{

    Page<Quotation> getQuotation(Page<Quotation> page,int current,
                                 int size, String quotationId,
                                 String quotaitionDateOfSigning,
                                 Double beginquotationSalesActually,
                                 String quotationHeadOfSales,
                                 Double endquotationSalesActually,
                                 String customerResourcesName,
                                 String warehouseId);
    int update(String quotationId);
    int updateQuotationState(String quotationId,String quotationState);
    Page<Quotation> selectWhere(Page<Quotation> page,int current,
                                 int size, String quotationState);


}
